package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.MygPaintingMapper;
import com.rongke.model.ExperienceGoods;
import com.rongke.model.MygPainting;
import com.rongke.service.MygPaintingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @MygPaintingServiceImpl
 * @蜜雅阁字画ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class MygPaintingServiceImpl extends ServiceImpl<MygPaintingMapper, MygPainting> implements MygPaintingService {

    @Autowired
    private MygPaintingMapper mygPaintingMapper;

    /**
     * @根据条件查找蜜雅阁字画
     * @param mygPainting
     * @return
     */
    @Override
    public List<MygPainting> selectByCondition(MygPainting mygPainting) {
        return mygPaintingMapper.selectByCondition(mygPainting);
    }

    @Override
    public List<MygPainting> selectPaintingGoodsList(Map map) {
        return mygPaintingMapper.selectPaintingGoodsList(map);
    }
}
